gen

abstract fun gen(hashingAlgorithm: HashAlgorithm): DisclosureDigest(source)

Given a hashingAlgorithm method produces a decoy DisclosureDigest

Return

a decoy DisclosureDigest

Parameters

hashingAlgorithm

the algorithm to be used for producing the decoy


open fun gen(hashingAlgorithm: HashAlgorithm, numOfDecoys: Int): Set<DisclosureDigest>(source)

Produces a series of decoy DisclosureDigest

Return

a series of decoy DisclosureDigest

Parameters

hashingAlgorithm

the algorithm to be used for producing the decoy

numOfDecoys

the number of decoys to produce